package com.sizu.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sizu.entity.TUserRole;
import com.sizu.mapper.TUserMapper;
import com.sizu.mapper.TUserRoleMapper;
import com.sizu.service.ITUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-22
 */
@Service
public class TUserRoleServiceImpl extends ServiceImpl<TUserRoleMapper, TUserRole> implements ITUserRoleService {

    @Autowired
    TUserRoleMapper userRoleMapper;
    @Override
    public void delByUserId(Integer userId) {
        userRoleMapper.delByUserId(userId);
    }
}
